package cn.gorit.dto.user;

import java.io.Serializable;
/**
 * @version v1.0
 * @Classname RegDto
 * @Description 用户注册传值的 DTO
 * @Author Gorit
 * @Created by 2021/3/16 0:31
 * @IDLE IntelliJ IDEA
 **/
public class RegDto implements Serializable {
    // 用户 ID，自增生成，不可更改，需要用户提供 主键
    private String userId;

    // 头像
    private String avatar;

    // 真实姓名
    private String name;

    // 用户昵称
    private String nickname;

    // 用户简介
    private String profile;

    // 登录账户  必填数据
    private String username;

    // 登录密码  必填数据
    private String password;

    // 用户邮箱 必填
    private String email;

    // 性别 0 男， 1 女
    private Integer gender;

    public RegDto() {}


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        this.profile = profile;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    @Override
    public String toString() {
        return "RegDto{" +
                "userId='" + userId + '\'' +
                ", avatar='" + avatar + '\'' +
                ", name='" + name + '\'' +
                ", nickname='" + nickname + '\'' +
                ", profile='" + profile + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", gender=" + gender +
                '}';
    }
}
